
<template>
	<div class="list">
		<el-table :data="tableData" border height="810" @row-click="test">
		    <el-table-column prop="date" label="比赛时间">
		    </el-table-column>
		    <el-table-column prop="name" label="对阵双方">
		    </el-table-column>
		    <el-table-column prop="address" label="冠军得主">
		    </el-table-column>
		    <el-table-column prop="address" label="最终比分">
		    </el-table-column>
		    <el-table-column prop="address" label="MVP得主">
		    </el-table-column>
		    <el-table-column prop="address" label="冠军教练">
		    </el-table-column>
  		</el-table>
	</div>
</template>

<script>
	export default{
		created() {
        },
        components:{
			
        },
		data(){
			return{
				tableData: [
						{
				          date: '2017',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1518 弄'
				        }, 
				        {
				          date: '2016-05-04',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1517 弄'
				        }, 
				        {
				          date: '2016-05-01',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1519 弄'
				        }, 
				        {
				          date: '2016-05-03',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1516 弄'
				        },
				        {
				          date: '2016-05-02',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1518 弄'
				        }, 
				        {
				          date: '2016-05-04',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1517 弄'
				        }, 
				        {
				          date: '2016-05-01',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1519 弄'
				        }, 
				        {
				          date: '2016-05-03',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1516 弄'
				        },
				        {
				          date: '2016-05-02',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1518 弄'
				        }, 
				        {
				          date: '2016-05-04',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1517 弄'
				        }, 
				        {
				          date: '2016-05-01',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1519 弄'
				        }, 
				        {
				          date: '2016-05-03',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1516 弄'
				        },
				        {
				          date: '2016-05-02',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1518 弄'
				        }, 
				        {
				          date: '2016-05-04',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1517 弄'
				        }, 
				        {
				          date: '2016-05-01',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1519 弄'
				        }, 
				        {
				          date: '2016-05-03',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1516 弄'
				        },
				        {
				          date: '2016-05-02',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1518 弄'
				        }, 
				        {
				          date: '2016-05-04',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1517 弄'
				        }, 
				        {
				          date: '2016-05-01',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1519 弄'
				        }, 
				        {
				          date: '2016-05-03',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1516 弄'
				        },
				        {
				          date: '2016-05-02',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1518 弄'
				        }, 
				        {
				          date: '2016-05-04',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1517 弄'
				        }, 
				        {
				          date: '2016-05-01',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1519 弄'
				        }, 
				        {
				          date: '2016-05-03',
				          name: '王小虎',
				          address: '上海市普陀区金沙江路 1516 弄'
				        }
				]
			}
		},
		methods:{
		test(){
			alert(66666666)
		}
		},
		activated(){
			// alert("数据刷新啦")
		},
		deactivated(){

		},
		mounted(){
		 
		}
	}
</script>
<style lang="less">
.list{
	border: 1px solid #000;
	height: 810px;
	overflow-y: auto;
}
</style>